/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bishe.entity;

import com.thinkgem.jeesite.modules.bishe.entity.BishePack;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 资金变动管理Entity
 * @author yue
 * @version 2018-12-28
 */
public class BisheAccountLog extends DataEntity<BisheAccountLog> {
	
	private static final long serialVersionUID = 1L;
	private BishePack pack;		// 合同
	private String orderType;		// 类型
	private Integer accountMoney;		// 金额
	
	public BisheAccountLog() {
		super();
	}

	public BisheAccountLog(String id){
		super(id);
	}

	public BishePack getPack() {
		return pack;
	}

	public void setPack(BishePack pack) {
		this.pack = pack;
	}
	
	@Length(min=0, max=64, message="类型长度必须介于 0 和 64 之间")
	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	public Integer getAccountMoney() {
		return accountMoney;
	}

	public void setAccountMoney(Integer accountMoney) {
		this.accountMoney = accountMoney;
	}
	
}